home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
ATA.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
5KB
|
132 lines
/*
File: ATA.idl
Contains: ATA (PC/AT Attachment) Interfaces
Version: Technology: System 7.5
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __ATA_IDL__
#define __ATA_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __TYPES_IDL__
#include <Types.idl>
#endif
#ifndef __MIXEDMODE_IDL__
#include <MixedMode.idl>
#endif
#ifdef __SOMIDL__
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
/* This is the structure used for the AT Interface core routines below */
/* Used to determine the presence of traps*/
/* Task file definition *** Error Register ****/
/* Task file definition *** ataTFSDH Register ****/
/* Task file definition *** Status Register ****/
/* ATA Command Opcode definition*/
/* Set feature command opcodes*/
/* Device Register Images (8 bytes) */
typedef SOMLargeStruct ataTaskFile; /* Derived from a struct of 8 bytes in size */
/* ATA Manager Function Code Definition*/
/* 'ATAFlags' field of the PB header definition*/
/* Parameter block header definition - common for all PBs (48 bytes)*/
typedef SOMLargeStruct ataPBHeader; /* Derived from a struct of 48 bytes in size */
/* data request entry structure (16 bytes)*/
typedef SOMLargeStruct IOBlock; /* Derived from a struct of 8 bytes in size */
/*
For ATAPI devices the ExtendedPB field is a pointer to the Command Packet
record which exists of an array of words structured as follows... <06/15/94>
*/
typedef SOMLargeStruct ATAPICmdPacket; /* Derived from a struct of 18 bytes in size */
/* Manager parameter block structure (96 bytes)*/
typedef SOMLargeStruct ataIOPB; /* Derived from a struct of 96 bytes in size */
/*
Parameter block structure for bus and Manager inquiry command
Manager parameter block structure
*/
typedef SOMLargeStruct ataBusInquiry; /* Derived from a struct of 184 bytes in size */
/* Manager parameter block structure*/
typedef SOMLargeStruct ataMgrInquiry; /* Derived from a struct of 96 bytes in size */
/*
Parameter block structure for Abort command
Manager parameter block structure
*/
typedef SOMLargeStruct ataAbort; /* Derived from a struct of 96 bytes in size */
/* Manager parameter block structure*/
typedef SOMLargeStruct ATAEventRec; /* Derived from a struct of 8 bytes in size */
typedef OpaquePtr ATAEventRecPtr; /* Substituted OpaquePtr for ``ATAEventRec*'' */
typedef OpaquePtr ATAClientProcPtr;
typedef OpaquePtr ATAClientUPP;
/*
Parameter block structure for Driver Register command
Manager parameter block structure
*/
typedef SOMLargeStruct ataDrvrRegister; /* Derived from a struct of 96 bytes in size */
/* Parameter block structure for Modify driver event mask command*/
typedef SOMLargeStruct ataModifyEventMask; /* Derived from a struct of 96 bytes in size */
/* 'ataRegMask' field of the ataRegAccess definition*/
/* Parameter block structure for device register access command*/
typedef SOMLargeStruct ataRegValueUnion; /* Derived from a struct of 3 bytes in size */
/* Manager parameter block structure*/
typedef SOMLargeStruct ataRegAccess; /* Derived from a struct of 96 bytes in size */
/* Manager parameter block structure <DP03/10/94>*/
typedef SOMLargeStruct ataIdentify; /* Derived from a struct of 96 bytes in size */
/* 'ataConfigSetting' field of the Get/Set Device Configuration definition <8/6/94>*/
/* atapcValid field definition*/
/* Device physical type & socket type indicator definition*/
/*
Get/Set Device Configuration parameter block structure <8/6/94>
Manager parameter block structure
*/
typedef SOMLargeStruct ataDevConfiguration; /* Derived from a struct of 96 bytes in size */
/* Get Card Location Icon/Text <SM4>*/
/* Manager parameter block structure*/
typedef SOMLargeStruct ataLocationData; /* Derived from a struct of 96 bytes in size */
/* ataOSType available*/
/* The parameter block definition for all other ATA Manager functions.*/
typedef SOMLargeStruct ataGeneric; /* Derived from a struct of 96 bytes in size */
typedef SOMLargeStruct ataPB; /* Derived from a struct of 1144 bytes in size */
/* The ATA Event codes...*/
typedef OpaquePtr ATADispatchProcPtr;
typedef OpaquePtr ATADispatchUPP;
/* Device Error codes: 0xDB42 - 0xDB5F */
/* ------------------------ Version 1 definition ------------------------------- */
#endif
#endif /* __SOMIDL__ */
#endif /* __ATA_IDL__ */